//
//  WTPictureModel.m
//  OneDay
//
//  Created by lanou on 16/1/14.
//  Copyright © 2016年 小明. All rights reserved.
//

#import "WTPictureModel.h"

@implementation WTPictureModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        _ID = value;
    }
    if ([key isEqualToString:@"imgurls"]) {
      
        if ([value count] == 3) {
            _picOne = value[0];
            _picTwo = value[1];
            _picThr = value[2];
        }else {
            _picOne = value[0];
        }
       
    }

}


@end
